package com.foreknow.entity;

import java.io.Serializable;
import java.util.Date;

public class Herbaltemplate implements Serializable {
    /**
     * ID主键
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 名称
     *
     * @mbggenerated
     */
    private String name;

    /**
     * 医生ID
     *
     * @mbggenerated
     */
    private Integer doctorid;

    /**
     * 创建时间
     *
     * @mbggenerated
     */
    private Date creationtime;

    /**
     * 处方类型 水煎煮/酒泡/打粉/制丸/装胶囊等
     *
     * @mbggenerated
     */
    private String prescriptiotype;

    /**
     * 付数
     *
     * @mbggenerated
     */
    private Integer paynumber;

    /**
     * 用法
     *
     * @mbggenerated
     */
    private String drugsusage;

    /**
     * 治法
     *
     * @mbggenerated
     */
    private String therapy;

    /**
     * 治法详细
     *
     * @mbggenerated
     */
    private String detailed;

    /**
     * 医嘱
     *
     * @mbggenerated
     */
    private String advice;

    /**
     * 使用范围 全院/科室/个人
     *
     * @mbggenerated
     */
    private String scope;

    /**
     * 删除标记
     *
     * @mbggenerated
     */
    private Integer delmark;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDoctorid() {
        return doctorid;
    }

    public void setDoctorid(Integer doctorid) {
        this.doctorid = doctorid;
    }

    public Date getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

    public String getPrescriptiotype() {
        return prescriptiotype;
    }

    public void setPrescriptiotype(String prescriptiotype) {
        this.prescriptiotype = prescriptiotype;
    }

    public Integer getPaynumber() {
        return paynumber;
    }

    public void setPaynumber(Integer paynumber) {
        this.paynumber = paynumber;
    }

    public String getDrugsusage() {
        return drugsusage;
    }

    public void setDrugsusage(String drugsusage) {
        this.drugsusage = drugsusage;
    }

    public String getTherapy() {
        return therapy;
    }

    public void setTherapy(String therapy) {
        this.therapy = therapy;
    }

    public String getDetailed() {
        return detailed;
    }

    public void setDetailed(String detailed) {
        this.detailed = detailed;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public Integer getDelmark() {
        return delmark;
    }

    public void setDelmark(Integer delmark) {
        this.delmark = delmark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", doctorid=").append(doctorid);
        sb.append(", creationtime=").append(creationtime);
        sb.append(", prescriptiotype=").append(prescriptiotype);
        sb.append(", paynumber=").append(paynumber);
        sb.append(", drugsusage=").append(drugsusage);
        sb.append(", therapy=").append(therapy);
        sb.append(", detailed=").append(detailed);
        sb.append(", advice=").append(advice);
        sb.append(", scope=").append(scope);
        sb.append(", delmark=").append(delmark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}